/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.adama.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.LinkedList;
import java.util.List;
import javax.validation.constraints.Size;
import org.codehaus.jackson.annotate.JsonIgnore;

/**
 *
 * @author mini-john
 */
public class ModelePaieDTO implements Serializable {

    private Long id;
    @Size(min = 1,message = "{Size.modelPaie.nom}")
    private String nom;
    BigDecimal assietteCotisation;
   @Size(min = 1,message = "{Size.modelPaie.ligneBulletinPaieModele}")
 
    private List<LigneBulletinPaieModeleDTO> ligneBulletinPaieModele = new LinkedList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }

    public List<LigneBulletinPaieModeleDTO> getLigneBulletinPaieModele() {
        return ligneBulletinPaieModele;
    }

    public void setLigneBulletinPaieModele(List<LigneBulletinPaieModeleDTO> ligneBulletinPaieModele) {
        this.ligneBulletinPaieModele = ligneBulletinPaieModele;
    }

    

    public BigDecimal getAssietteCotisation() {
        return assietteCotisation;
    }

    public void setAssietteCotisation(BigDecimal assietteCotisation) {
        this.assietteCotisation = assietteCotisation;
    }

}
